<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'onlineNum.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="./bamcss/bam.css">
	<style type="text/css">
		.layer_zhuti a{
			padding: 15px 80px;
			background-color: #696969;
			color: white;
			
		}
	
	.layer_zhuti iframe{
		height: 95%;
	}
	
	
	</style>
  </head>
  
  <body>
   <div class="layer_head">
   			<div class="layer_title">广告点击统计</div>
   			<div class="layer_seekTime">
   				<select>
   					<option>按日</option>
   					<option>按月</option>
   				</select>
	   			<input type="date" id="key" name="key" value="起始时间" 
	   					onFocus="if(value==defaultValue){value='';this.style.color='#000'}" 
	   					onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999"
	   					  >
	   				<span  style="position: relative;top: 40%;color:#696969 ">~</span>	
	   			<input type="date" id="key" name="key" value="结束时间" 
	   					onFocus="if(value==defaultValue){value='';this.style.color='#000'}" 
	   					onBlur="if(!value){value=defaultValue;this.style.color='#999'}" style="color:#999999"
	   					 >
	   			<button>搜索</button>	
   			</div>	
			<div style="clear: both;"></div>
   		</div>
   		<hr>
   		
   		<div class="layer_zhuti">
   				<table>
   					<tr>
   						<td><a href="${pageContext.request.contextPath}/bamjsp/dataStatistics/adverACT/adtable.jsp" target="layer_iframe">表格</a></td>
   						<td><a href="${pageContext.request.contextPath}/bamjsp/dataStatistics/adverACT/adline .jsp" target="layer_iframe">折线图</a></td>
   						<td><a href="${pageContext.request.contextPath}/bamjsp/dataStatistics/adverACT/adcolh.jsp" target="layer_iframe">柱状图</a></td>
   					</tr>
   				</table>
   			<iframe class ="layer_iframe" name="layer_iframe" src="${pageContext.request.contextPath}/bamjsp/dataStatistics/adverACT/adtable.jsp" frameborder=0 ></iframe>
   		</div>
   		
   		<div class="layer_bottom">
			<span class="span1" >**共 <span style="font-size: 14px;color: black;" id="span1"></span> 条数据 / 共
			<span style="font-size: 14px;color: black;" id="span2"></span>&nbsp;页 / 当前第
			<span style="font-size: 14px;color: black;" id="span3"></span>&nbsp;页***</span> 
			
			<span style="float: right;"><input id="tiao"style="width: 50px" type="number" min="1"/><button style="width: 50px" onclick="tiaozhuan()" >go</button></span>
			<button style="margin-right: 40px" onclick="moye()">末 页</button>
			<button style="margin-right: 20px" onclick="xiaye()">下页</button>
			<button style="margin-right: 20px" onclick="shangye()">上 页</button>
			<button style="margin-right: 20px" onclick="shouye()">首页</button>
			<div style="clear: both;"></div>
		</div>
  </body>
</html>
